# -*- coding: utf-8 -*-
from datetime import timedelta
from airflow.operators.bash import BashOperator
from jms.dm.dm_jingjinji_mark_telephone_summary_dt import jms_dm__dm_jingjinji_mark_telephone_summary_dt
jms_oracle__dm_jingjinji_mark_telephone_summary_dt = BashOperator(
    task_id='jms_oracle__dm_jingjinji_mark_telephone_summary_dt',
    execution_timeout=timedelta(hours=2),
    email=['yl_etl@yl-scm.com','wangmenglei@jtexpress.com'],
    # name='jms_oracle__dm_jingjinji_mark_telephone_summary_dt_{{ execution_date | date_add(1) | cst_ds }}',
    bash_command="jms/oracle/dm_jingjinji_mark_telephone_summary_dt/execute.sh",
    pool='spmi_apack',
    retries=1,
    pool_slots=2,
)

jms_oracle__dm_jingjinji_mark_telephone_summary_dt << [jms_dm__dm_jingjinji_mark_telephone_summary_dt]